<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
hello world
<h2>数学计算</h2>
<form action="MathServlet">
    <input name="a">
    <select name="op">
        <option value="+">+</option>
        <option value="-">-</option>
        <option value="*">*</option>
        <option value="/">/</option>
    </select>
    <input name="b">
    <button>=</button>
</form>

<h2>选择项</h2>
<form action="YourItemServlet" method="post" accept-charset="UTF-8">
    你的学历: <input type="radio" name="edu" value="1">初中
    <input type="radio" name="edu" value="2">高中
    <input type="radio" name="edu" value="3">大专
    <input type="radio" name="edu" value="4">本科
    <br>

    你的爱好: <input type="checkbox" name="likes" value="a">电影
    <input type="checkbox" name="likes" value="b">篮球
    <input type="checkbox" name="likes" value="c">手游
    <input type="checkbox" name="likes" value="d">休闲
    <br>
    <button>提交</button>
</form>
</body>
</html>